package com.weim.study.shiro.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/admin")
public class RoleController {

    private Logger logger = LoggerFactory.getLogger(this.getClass());

    @GetMapping("/roles")
    public String goRoles() {
        logger.info("go roles");
        return "success";
    }
}
